﻿<UserControl x:Class="YouTubePlaylist.Views.MailLinkInputCtrl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <UserControl.Resources>
        <Style x:Name="HeaderStyle" TargetType="TextBlock">
            <Setter Property="FontSize" Value="16"/>
        </Style>
        <Style x:Name="NoteStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="LightSalmon"/>
            <Setter Property="FontSize" Value="10"/>
        </Style>
    </UserControl.Resources>
    <StackPanel>
        <TextBlock x:Name="Title" Style="{StaticResource HeaderStyle}" TextWrapping="Wrap"/>
        <Border BorderBrush="Black" CornerRadius="10" BorderThickness="2" Margin="8" Padding="8">
            <StackPanel>
                <StackPanel Orientation="Horizontal" Margin="0,4,0,4">
                    <TextBlock Width="75" Text="From:" VerticalAlignment="Center"/>
                    <TextBox x:Name="From" Width="300"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="0,4,0,4">
                    <TextBlock Width="75" Text="Emails:" VerticalAlignment="Center"/>
                    <TextBox x:Name="To" Width="300"/>
                </StackPanel>
                <TextBlock Width="400" TextWrapping="Wrap" Style="{StaticResource NoteStyle}" VerticalAlignment="Center"
                   Text="Enter email addresses separated by commas. i.e., joe@hotmail.com, jane@gmail.com" />
            </StackPanel>
        </Border>
        <Border BorderBrush="Black" CornerRadius="10" BorderThickness="2" Margin="8" Padding="8">
            <StackPanel>
                <StackPanel Orientation="Horizontal" Margin="0,4,0,4">
                    <TextBlock Width="75" Text="Subject:" VerticalAlignment="Center"/>
                    <TextBox x:Name="Subject" Width="300"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="0,4,0,4">
                    <TextBlock Width="75" Text="Body:" VerticalAlignment="Center"/>
                    <TextBox x:Name="RawBody" Width="300"/>
                </StackPanel>
            </StackPanel>
        </Border>
    </StackPanel>
</UserControl>
